<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ include file="/static/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>业务绩效--机构分组列表</title>

    <link href="${ctxStatic}/layui/css/layui.css" rel="stylesheet"/>
    <link href="${ctxStatic}/css/kpiui.css" rel="stylesheet"/>
    <script src="${ctxStatic}/js/jquery-1.8.3.min.js?v=2.0" type="text/javascript"></script>
    <script src="${ctxStatic}/layui/layui.all.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/workassessment/orgroup.js" type="text/javascript"></script>
    <script src="${ctxStatic}/js/common.js" type="text/javascript"></script>

</head>
<body>
<div class="currentnav"><span class="tiao"></span><span class="navtitle">分组管理</span></div>
<div class="tabregion">
    <div class="layui-tab layui-tab-brief" lay-filter="tabcontent">
        <ul class="layui-tab-title">
            <li lay-id="1" class="layui-this">分组列表</li>
            <li lay-id="2">添加/编辑</li>
        </ul>
        <div class="layui-tab-content" style="height: 100px;">
            <div class="layui-tab-item layui-show">
                <div class="serchcontent">
                    <div class="search">
                        角色名称：<input type="text" class="text" id="groupname"/>
                        <button type="button" class="button" id="btnquery" onclick="vOrgGroup.searchtable()"><img
                                src="${ctxStatic}/images/button/chaxun.png" style="width:20px">查询
                        </button>
                        <button type="button" class="button" onclick="vOrgGroup.OpTab(2)"><img
                                src="${ctxStatic}/images/button/add.png">添加
                        </button>
                    </div>
                </div>

                <div class="content">
                    <div id="list" class="list" lay-filter="list"></div>
                    <script type="text/html" id="operate">
                        <!--<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>-->
                        <img class="btn-img" src="${ctxStatic}/images/index/btn_edit.png" lay-event="edit" alt="编辑"
                             title="编辑">
                        <img class="btn-img" src="${ctxStatic}/images/index/btn_delete.png" lay-event="del" alt="删除"
                             title="删除">
                        <img class="btn-img" src="${ctxStatic}/images/button/setmenu.png" lay-event="setrights"
                             alt="设置分组" title="设置分组">
                    </script>
                </div>
            </div>
            <div class="layui-tab-item">
                <div class="form-region">
                    <form class="layui-form" id="formedit" name="formedit" action="add_group" method="post"
                          target="d41d8cd98f00b204e9800998ecf8427e">
                        <iframe name="d41d8cd98f00b204e9800998ecf8427e" src="about:blank"
                                style="display:none;"></iframe>
                        <div style="width:60%;margin:0 auto">
                            <table noStyle="true">
                                <tr>
                                    <td class="td_right">分组名称：</td>
                                    <td class="td_left">
                                        <input type="text" id="groupname" name="groupname" lay-verify="required"
                                               autocomplete="off" placeholder="请输入分组名称" class="layui-input">
                                    </td>
                                </tr>
                                </tr>
                                <tr>
                                    <td class="td_right">描述：</td>
                                    <td class="td_left">
                                        <textarea class="layui-textarea" name="remark"></textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_right">排序：</td>
                                    <td class="td_left">
                                        <input type="text" class="layui-input" name="orderindex">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td_center" colspan="2">
                                        <button class="button" lay-submit="" lay-filter="demo1" id="btnsave">保存</button>
                                        <input type="button" value="返回列表" class="button" onclick="vOrgGroup.OpTab(1)"/>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <input type="hidden" name="groupid" value="0">
                    </form>
                </div>

            </div>


        </div>
    </div>
</div>


</body>
</html>